package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface SetmealService {
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);


    Setmeal findById(int id);

    List<Integer> findCheckgroupIdsBySetmealId(Integer setmealId);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    void deleteById(Integer id);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();

    /*套餐总额数*/
    public Integer findnameById(String name);

    public Integer findSetmealMoney(Integer id);

    public Double findSetmealNum(Integer id, ArrayList<String> dayList);

    public List<String> findSetmealNameCount();
}
